﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WpfControlDemo.Models
{
    //菜单项绑定实体
    public class MenuItemModel
    {
        /// <summary>
        /// 菜单ID
        /// </summary>
        public int MenuId { get; set; }
        /// <summary>
        /// 菜单显示项
        /// </summary>
        public string MenuName { get; set; }
        /// <summary>
        /// 快捷键
        /// </summary>
        public string MKey { get; set; }
        /// <summary>
        /// 子菜单项集合
        /// </summary>
        public List<MenuItemModel> SubItems { get; set; }

        public MenuItemModel()
        {
            SubItems = new List<MenuItemModel>();
        }

    }
}
